package com.ruoyi.report.service.impl;

import com.ruoyi.report.domain.HanZaiHouseInfo;
import com.ruoyi.report.mapper.HanZaiHouseInfoMapper;
import com.ruoyi.report.service.HanZaiHouseInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: 憨憨爱崽崽
 * Name: HouseInfoServiceImpl
 * Date: 2022/3/28
 * Time: 15:08
 **/
@Service
public class HouseInfoServiceImpl implements HanZaiHouseInfoService {
    @Resource
    private HanZaiHouseInfoMapper houseInfoMapper;


    @Override
    public HanZaiHouseInfo selectHouseInfoByHouseId(Long houseId) {
        return houseInfoMapper.selectHouseInfoByHouseId(houseId);
    }

    @Override
    public List<HanZaiHouseInfo> selectHouseInfoList(HanZaiHouseInfo HouseInfo) {
        return houseInfoMapper.selectHouseInfoList(HouseInfo);
    }

}
